<%--
  Created by IntelliJ IDEA.
  User: 潘达
  Date: 2020/3/28
  Time: 14:52
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <title>代理商管理系统</title>
    <link rel="stylesheet" type="text/css" href="../static/css/default.css">
    <link rel="stylesheet" type="text/css" href="../static/css/public.css">
    <script type="text/javascript" src="../static/js/jquery-3.4.0.js"></script>
</head>
<body>
    <!-- 页头 -->
    <div class="head">
        <h1>
            AgentSyste|代理商管理系统 <span>v1.0</span>
        </h1>
    </div>
    <!-- content -->
    <div class="container">
        <form action="/user/login" method="post"
              onsubmit="return validateLoginUserFunc();">
            <h1>登录系统|Sign in</h1>
            <ul class="loginul">
                <li>登录账号：<input type="text" id="usercode" name="userCode"></li>
                <li>登录密码：<input type="password" id="userpassword" name="userPassword"></li>
            </ul><input type="submit" value="登录">
            <input type="button" value="注册" name="regist">
        </form>
    </div>
    <div>${msg}</div>
    <!-- 页尾 -->
    <jsp:include page="inc/foot.jsp"></jsp:include>
</body>
<script type="text/javascript">
    $(function () {
        $("input[name='regist']").click(function () {
            window.location="http://localhost:8080/jsp/regist.jsp";
        });
    });
</script>
</html>
